﻿import type { AppRouteRecord } from '@/types/router';

export const aboutRoutes: AppRouteRecord = {
    path: '/about',
    name: 'About',
    component: '/index/index',
    meta: {
        title: 'menus.article.title',
        icon: '&#xe7ae;',
        roles: ['R_SUPER', 'R_ADMIN'],
    },
    children: [
        {
            path: 'about-list',
            name: 'aboutList',
            component: '/about/list',
            meta: {
                title: 'menus.article.articleList',
                keepAlive: true,
                authList: [
                    { title: '新增', authMark: 'add' },
                    { title: '编辑', authMark: 'edit' },
                ],
            },
        },
        {
            path: 'about-connet',
            name: 'aboutConnet',
            component: '/about/connet',
            meta: {
                title: 'menus.article.articleList',
                keepAlive: true,
                authList: [
                    { title: '新增', authMark: 'add' },
                    { title: '编辑', authMark: 'edit' },
                ],
            },
        },
    ],
};
